const { get, post } = require('./http')

// 登陆
export const login = (params) => { return post('/data/api.wxapp/decode', params) }
// 获取nav配置
export const getSetting = (params) => { return post('/data/api.func/base', params) }
// 获取视频图片
export const getVideo = (params) => { return get('/data/api.news/getvideo', params) }
// 获取赞助商
export const getSponsorImg = (params) => { return get('/data/api.news/getimage', params) }
// 获取新闻
export const getNews = (params) => { return get('/data/api.news/getnews', params) }
// 获取视频
export const getTxVideo = (params) => { return post('/data/api.auth.activity/video', params) }
// 获取广告
export const getBannerAd = (params) => { return post('/data/api.caliancematch/get_index_ad', params) }
// 首页搜索
export const getSearch = (params) => { return post('/data/api.caliancematch/get_index_search', params) }

